//
//  THUserInfoModel.h
//  PublicProject
//
//  Created by TianHe_Wsk on 15/11/3.
//  Copyright © 2015年 H.D.X. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseModel.h"

/*用户模型*/
@interface THUserInfoModel : BaseModel


/**
 *  用户账户
 */
@property (nonatomic, copy) NSString *accout;

/**
 *  用户ID
 */
@property (nonatomic, copy) NSString *userID;

/**
 *  用户口令key
 */
@property (nonatomic, copy) NSString *key;


/**
 * 用户真实姓名
 */
@property (nonatomic, copy) NSString *realName;
/**
 * 用户手机号
 */
@property (nonatomic, copy) NSString *telephone;
/**
 * 用户收货地址
 */
@property (nonatomic, copy) NSString *address;

/**
 *  用户头像地址
 */
@property (nonatomic, copy) NSString *headImage;


/**
 *  角色 1客户 2客服 3仓管
 */
@property (nonatomic, copy) NSString *userType;

/**
 *  为客户提供服务的仓库
 */
@property (nonatomic, copy) NSString *store;

/**
 *  订单服务权限
 */
@property (nonatomic, copy) NSArray *servicePermissions;

/**
 *  用户操作权限
 */
@property (nonatomic, copy) NSArray *operationPermissions;
/**
 *  是否是厂商
 */
@property (nonatomic, copy) NSString *isVendor;// 1 是厂商   其他非厂商

@property (nonatomic, copy) NSString *is_service_time;

@property (nonatomic, strong) NSData *imageData;

-(void)setAttributes:(NSDictionary *)userInfo;



@end
